package com.zhanglijie.theory.ArrayListDemo.cponwriteArraylist;

import java.util.concurrent.CopyOnWriteArrayList;

/**
 * @author zhanglijie
 * @version 1.0
 * @since 1.1.0 2022/7/25 0025 22:32
 */
public class Test {//
    public static void main(String[] args) {
        final CopyOnWriteArrayList<Integer> cp = new CopyOnWriteArrayList<>();
        new WriteThread(cp).start();
        new ReadThread(cp).start();
    }
}
